import com.scau.dto.Order;
import com.scau.dto.SignForm;
import com.scau.pojo.Brand;
import com.scau.service.IBrandService;
import com.scau.service.IEWalletService;
import com.scau.service.ISystemUserService;
import com.scau.util.JsonUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.io.File;
import java.io.IOException;
import java.util.List;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath:spring/spring*.xml"})
public class test {

    @Autowired
    IEWalletService eWalletService;
    @Autowired
    ISystemUserService service;
    @Autowired
    IEWalletService walletService;
    @Test
    public void getPath() throws IOException {

        List<Order> orders = eWalletService.ListByBuyer("113");
        System.out.println(orders);

    }

    @Test
    public void getSignForm() throws IOException {



    }

}
